package fr.vvins.core.biz.group;

import fr.vvins.core.biz.exception.BizException;

public class GroupException extends BizException {

	private static final long serialVersionUID = 948415036612199599L;

	private final static String PREFIX = "GRP-";
	
	public final static String NOT_FOUND = PREFIX + 1;
	
	public final static String TOKEN_FORMAT_ERROR = PREFIX + 2;

	public final static String TOKEN_EMPTY = PREFIX + 2;

	public final static String CREATOR = PREFIX + 3;

	public static final String ID_EMPTY = PREFIX + 4;

	public static final String ID_FORMAT =  PREFIX + 5;;
	
	public GroupException(String code, String message) {
		super(code, message);
	}

}
